.header{
    width:1200px;
    height: 220px;
    margin:0 auto;
    position: relative;
    z-index: 20;
}
.header-middle{
    position: relative;
}

.header-middle > h1{
    float: left;
    margin-top: 25px;
}
.header-middle > .search-wral{
    position: absolute;
    top:35px;
    margin-left: 400px;
    width: 400px;

}
.header-middle > .search-wral > .search > div{
    float: left;
}



/*搜索框*/
.search-wral{
    margin-top: 10px;
}


.search-wral > .search > div{
    width: 330px;
    height: 33px;
}
.search-wral > .search > div > input{
    width: 330px;
    height: 33px;
}
.search-wral > .search > button{
    background: #459d36;
    border: none;
    height: 33px;
    width: 70px;
    color: #ffffff;
}
.search-wral > .search > button:hover{
    box-shadow: 0px 0px 5px #666;
}

.search-wral > div > span,a{
    font-size:13px;
    color: #666666;
}
.search-wral > div > a.mag{
    color: red;
}
.search-wral > div:last-child{
    margin-top: 5px;
}

/*购物车*/
.header-middle > div:last-child{
    height: 33px;
    width:100px;
    background: #ffffff;
    float: right;
    line-height: 33px;
    text-align: center;
    margin-top: 56px;
    border-radius: 10px;
    border:1px solid #333333;
}
.header-middle > div:last-child > span{
    font-size:14px;
}
.header-middle > div:last-child > span:hover{
   color: #0094ff;
}

/*头部导航条*/
.nav{
    width: 1200px;
    height: 37px;
    margin-top: 140px;
}

.nav >.navLeft {
    float: left;
    position: relative;
}

.nav > .navLeft > ul > li {
    float: left;
    line-height: 34px;
    width: 114px;
    text-align: center;
    border: 1px solid #000;
}

.nav > .nav-right > ul > li{
    float: left;
    line-height: 37px;
    width: 120px;
    text-align: center;
}

.nav > div.nav-right > ul > li > a{
    font-size:16px;
    font-weight: bold;
}
.nav > div.nav-right > ul > li > a > i{
    padding-right: 10px;
}
.nav > div.nav-right > ul > li:first-child{
    margin-left: 20px;
}



/*狗狗与商品分类的js切换*/
.nav >.navLeft > ul > li.headerCurrent{
    color: #FFFFFF;
    background: rebeccapurple;
}
.nav >.navLeft > ul > li.headerCurrent a{
    color: #FFFFFF;
}
.navLeft > .navList {
    width: 228px;
    height: 360px;
    position: absolute;
    top: 37px;
    background: #FFFFFF;
}

.navList > div{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    display: none;
}

.navList  > .listBottom{
    display: block;
}

.navList  > .nav-left-list-main > ul > li {
    height: 110px;
    width:100%;
}
.navList  > .nav-left-list-main > ul > li:first-child{
    background: #f2f2f2;
}
.navList  > .listBottom > ul > li {
    height: 110px;
    width:100%;
    margin-top: 10px;
    overflow: hidden;
}
.navList  > .listBottom > ul >  li:first-child{
    background: #f2f2f2;
}
.navList  > .listBottom > ul > li > a {
    display: block;
    height: 60px;
    width: 60px;
    border-radius: 50%;
    float: left;
}
.navList  > .listBottom > ul > li > a > img {
    height: 60px;
    padding-left: 20px;
    padding-top: 10px;
}
.navList  > .listBottom > ul > li > p{
    font-size: 13px;
    padding-top: 20px;
    margin-left: 90px;
    height: 20px;
    border-radius: 10px;
}
.navList  > .listBottom > ul > li > p:last-child{
    width: 120px;
    margin-top: 40px;
    line-height: 0px;
    height: 40px;
    padding-left: 10px;
    border: 1px solid #666666;
}
.navList  > .listBottom > ul > li > p > span{
    color: red;
    padding-right: 10px;
}
.navList  > .listBottom > dl{
    height: 51px;
    line-height: 51px;
    background: #fefefe;
    border-bottom:1px dashed #e2e2e2;
    position: relative;
}

.navList  > .listBottom > dl > dt{
    float: left;
    overflow: hidden;
}
.navList  > .listBottom > dl > dd{
    margin-left: 140px;
    overflow: hidden;
}
.navList  > .listBottom > dl:last-child{
    border-bottom: none;
}
.navList  > .listBottom > dl:last-child span{
    color: #459d36;
    padding-left: 10px;
}

.navList  > .listBottom > dl:last-child span em{
    background: orange;
    color: #FFFFFF;
    margin-left: 10px;
    padding: 0 10px;
    border-radius: 20px;
}
.navList  > .listBottom > dl:hover{
    background: #FFFFFF;
    /*border: 1px solid red;*/
    /*border-left: none;*/
    /*border-right: none;*/
}
/*侧边栏的内容*/
.navList  > .listBottom > dl > div{
    height:400px;
    width: 490px;
    background: #FFFFFF;
    position: absolute;
    top: 0;
    left: 228px;
    display: none;
}
.navList  > .listBottom > dl:hover div{
    display: block;
}
.navList  > .listBottom > dl:nth-child(1) div{
    position: absolute;
    top: 0px;
}
.navList  > .listBottom > dl:nth-child(2) div{
    position: absolute;
    top: -51px;
}

.navList  > .listBottom > dl:nth-child(3) div{
    position: absolute;
    top: -102px;
}

.navList  > .listBottom > dl:nth-child(4) div{
    position: absolute;
    top: -153px;
}
.navList  > .listBottom > dl:nth-child(5) div{
    position: absolute;
    top: -204px;
}
.navList  > .listBottom > dl:nth-child(6) div{
    position: absolute;
    top: -255px;
}

.navList  > .listBottom > dl:nth-child(7) div{
    position: absolute;
    top: -306px;
}

.dlList > p img{
    float: left;
}
.dlList > p span{
    margin-left: 10px;
}
.dlList > ul > li a{
    float: left;
}



    /*nav导航条的右边内容*/
.nave-right{
    width: 200px;
    height: 360px;
    position: absolute;
    top: 258px;
    right: 14px;
}
.nave-right > ul > li {
    height: 120px;
    border-bottom: 1px solid #e2e2e2;
    position: relative;
}
.nave-right > ul > li:last-child{
    border-bottom: none;
}
.nave-right > ul > li > a {
    height: 119px;
    width: 200px;
    position: absolute;
    left: 20px;
    transition: 1s ease all;

}
.nave-right > ul > li:hover a {
    position: absolute;
    left: 0px;

}
.nave-right > ul > li > a > img{
    height: 119px;
    width: 200px;
}



/*轮播图*/
.banner_wall{
    width: 100%;
    height: 360px;
    margin-top: 37px;
}
.banner{
    width: 770px;
    height: 100%;
    margin: 0 auto;
    background: red;
    position: relative;
}
.banner > ul > li {
    height: 360px;
    width: 770px;
    position: absolute;
    top: 0;
    left: 0;
}

.banner ol{
    position: absolute;
    bottom: 10px;
    right: 5px;
}
.banner ol li{
    float:left;
    width:20px;
    height:20px;
    background:#fff;
    border:1px solid #ccc;
    margin-left:10px;
    cursor:pointer;
    color: #000;
    border-radius: 50%;
    text-align: center;
    line-height: 16px;
    font-size: 12px;
}
.banner ol li.current{
    background:yellow;
}


/*活动抢购的样式*/

.activity{
    height: 460px;
    width: 1200px;
    border: 1px solid #b2b2b2;
    margin: 0 auto;
    margin-top: 30px;
}

.activity > .activity-left{
    float: left;
    height: 460px;
    width: 330px;
    background-image: url("../images/fqiang.png");
}
.activity > .activity-right > ul{
    height: 80px;
    width: 70%;
    margin-left: 29%;
    border-bottom: 1px dashed #b2b2b2;
}

.activity > .activity-right > ul > li {
    float: left;
    width: 60px;
    height: 50px;
    line-height: 20px;
    margin-top: 25px;
    text-align: center;
    font-size: 14px;
    color: #666666;
    margin-left: 68px;
}
.activity > .activity-right > ul > li:first-child{
    margin-left: 0px;
}

/*js效果的样式*/
.activity > .activity-right > ul > li.activityCurrent{
    font-size: 18px;
    color: red;
    border-bottom: 2px solid red;
}

.activityMain{
    margin-top: 30px;
    float: right;
    width: 860px;
    height: 348px;
    position: relative;
}

/*js效果*/
.activityMain > .main-list{
    position: absolute;
    top: 0;
    left: 0;
}

.activityMain > .mainCurrent{
    display: block;
}

.activityMain > div{
    display: none;
}


.activityMain > .mainCurrent > ul > li {
    float: left;
    width: 211px;
    height: 367px;
    text-align:center;
}
.activityMain > .mainCurrent > ul > li:first-child{
    margin-left: 6px;
}
.activityMain > .mainCurrent > ul > li > div{
    height: 60px;
    width: 60px;
    border-radius: 50%;
    background: red;
    margin-left: 10px;
    margin-top: 10px;
    text-align: center;
    line-height: 60px;
}
.activityMain > .mainCurrent > ul > li > div > span{
    font-size: 30px;
    color: #FFFFFF;
}

.activityMain > .mainCurrent > ul > li > div > span > em{
    font-size: 16px
}
.activityMain > .mainCurrent > ul > li > a > img{
    width: 86%;
}
.activityMain > .mainCurrent > ul > li > span{
    display: inline-block;
    font-size: 12px;
    padding: 0 20px;
    text-align: left;
    color: #333333;
}
.activityMain > .mainCurrent > ul > li > p{
    font-size: 20px;
    color: red;
}
.activityMain > .mainCurrent > ul > li > p > span{
    font-size: 12px;
    color: red;
    padding-right: 5px;
}
.activityMain > .mainCurrent > ul > li > p > em{
    font-size: 12px;
    text-decoration:line-through;
    color: #b2b2b2;
    padding-left: 10px;

}
.activityMain > .mainCurrent > ul > li > p > strong{
    font-size: 12px;
    color: #b2b2b2;
    padding-left: 30px;
}
.activityMain > .mainCurrent > ul > li > p:last-child{
    width: 140px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    background: #4ace83;
    color: #FFFFFF;
    border-radius: 20px;
    font-size: 14px;
    margin-left: 30px;
}



